<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            padding: 0;
            margin: 0;
        }

        .navbar {
            height: 89px;
            /* padding-left: 300px;
            padding-right: 300px;
            padding-top: 8px;
            padding-bottom: 8px; */

            padding: 8px 300px;
        }

        .navbar div,.navbar2 div {
            /* border: 1px solid red; */
        }

        .logo {
            width: 199px;
            /* 让div水平显示，浮动起来 */
            float: left;
        }

        .nav-list {
            width: 480px;
            /* 让div水平显示，浮动起来 */
            float: right;
        }

        .nav-list li {
            list-style-type: none; /* 去除列表前的实心圆点 */
            float: left;
            margin-right: 15px;
            height: 44.5px;
            line-height: 44.5px;
            font-size: 14px;
        }
        
        /* 行内块 */
        .navbar2 div {
            display: inline-block;/*  */
        }

        .logo2 {
            width: 199px;
            margin-right: 470px;
        }

        .nav-list2 {
            width: 250px;
        }

    </style>
</head>
<body>
    <!-- navbar 导航条 -->
    <div class="navbar">
        <div class="logo">
            <img src="./img/logo.png" alt="" width="50%" >
        </div>
        <div class="nav-list">
            <ul>
                <li>我们的品牌</li>
                <li>我们的品牌</li>
                <li>我们的品牌</li>
                <li>我们的品牌</li>
                <li>我们的品牌</li>
            </ul>
        </div>
    </div>
    
    <hr><!-- 水平分割线 -->
    <!-- 水平显示第二种实现 -->
    <div class="navbar2">
        <div class="logo2">123</div>
        <div class="nav-list2">456</div>
    </div>
</body>
</html>